<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/vue.js"></script>

</head>

<body>
    <div id="app">
		<div v-if="msg>4&&msg<6">幼儿园</div>
		<div v-else-if="msg>=6&&msg<18">初中生</div>
		<div v-else>成年人</div>
    </div>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
			msg:10
            },
            methods: {
		
            }
        })
    </script>
</body>

</html>